package com.aaa.mapper;

import com.aaa.commen.domain.RentExpireAndOverdue;
import com.aaa.commen.query.RentExpireQuery;
import com.aaa.commen.query.RentOverdueQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

/**
 * 租金 到期,逾期 Mapper
 */
public interface RentExpireAndOverdueMapper extends BaseMapper<RentExpireAndOverdue> {
    /**
     * 查询所有租金即将到期信息
     */
    IPage<RentExpireAndOverdue> queryRentExpire(IPage<RentExpireAndOverdue> page, @Param("rentExpireQuery") RentExpireQuery rentExpireQuery);

    /**
     * 查询所有租金逾期信息
     */
    IPage<RentExpireAndOverdue> queryRentOverdue(IPage<RentExpireAndOverdue> page, @Param("rentOverdueQuery") RentOverdueQuery rentOverdueQuery);
}
